import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {SysAttachmentUploadAlainComponent} from './sys-attachment-upload-alain.component';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {FormsModule} from '@angular/forms';
import {NzAddOnModule, NzButtonModule, NzIconModule, NzUploadModule} from 'ng-zorro-antd';


@NgModule({
    declarations: [SysAttachmentUploadAlainComponent],
    imports: [
        CommonModule,
        DelonFormModule,
        FormsModule,
        NzUploadModule,
        NzIconModule,
        NzButtonModule
    ],
    exports: [SysAttachmentUploadAlainComponent],
    entryComponents: [SysAttachmentUploadAlainComponent]
})
export class SysAttachmentUploadAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(SysAttachmentUploadAlainComponent.KEY, SysAttachmentUploadAlainComponent);
    }
}
